of the R packages for the spline smoother algorithm is

im. The R function in this package used for baseline estimation

by smooth.spline. Its format is shown below, where s is a

ector and spar is a smoothing parameter,

smooth.spline(s,spar,)

he estimated peak spectra for the spectra data shown in Figure 5.5 using the

oach with three different regularisation constants.

e 5.7 shows the estimated peak spectra for the spectra data shown

5.5. The regularisation constants used for these baselines were

and 3.0. When the regularisation constant was 0.1, the peak

extracted from an estimated baseline failed to identify peaks or

ccurately. The peak spectrum, which is shown in the upper panel

5.7, estimated using this regularisation constant value was very

i.e., there were too many peaks, which are either true or false

uch a spectrum which is full of densely distributed artifacts, it is

ly that most of them were false peaks. On the other hand, when

arisation constant was 3.0, the estimated baseline was also